package com.ruoyi.zuzhi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司工作地点信息对象 work_location
 * 
 * @author lgr
 * @date 2025-06-05
 */
public class WorkLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作地点ID，主键 */
    private Long posId;

    /** 工作地点名称 */
    @Excel(name = "工作地点名称")
    private String locationName;

    /** 国家/地区 */
    @Excel(name = "国家/地区")
    private String countryRegion;

    /** 所在城市 */
    @Excel(name = "所在城市")
    private String city;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postalCode;

    /** 类型(总部/分公司/办事处/远程办公点等) */
    @Excel(name = "类型(总部/分公司/办事处/远程办公点等)")
    private String locationType;

    /** 员工数量 */
    @Excel(name = "员工数量")
    private Long employeeCount;

    /** 地点描述信息 */
    @Excel(name = "地点描述信息")
    private String description;

    /** 删除标志（0代表存在 2代表删除） */
    private Long delFlag;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录最后更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setPosId(Long posId) 
    {
        this.posId = posId;
    }

    public Long getPosId() 
    {
        return posId;
    }

    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }

    public void setCountryRegion(String countryRegion) 
    {
        this.countryRegion = countryRegion;
    }

    public String getCountryRegion() 
    {
        return countryRegion;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }

    public void setLocationType(String locationType) 
    {
        this.locationType = locationType;
    }

    public String getLocationType() 
    {
        return locationType;
    }

    public void setEmployeeCount(Long employeeCount) 
    {
        this.employeeCount = employeeCount;
    }

    public Long getEmployeeCount() 
    {
        return employeeCount;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("posId", getPosId())
            .append("locationName", getLocationName())
            .append("countryRegion", getCountryRegion())
            .append("city", getCity())
            .append("address", getAddress())
            .append("postalCode", getPostalCode())
            .append("locationType", getLocationType())
            .append("employeeCount", getEmployeeCount())
            .append("description", getDescription())
            .append("delFlag", getDelFlag())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
